package com.example.elm_server_api.service.impl;

import com.example.elm_server_api.domain.AdminUser;
import com.example.elm_server_api.mapper.AdminUserMapper;
import com.example.elm_server_api.service.IAdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service("adminService")
@Transactional
public class AdminServiceImpl implements IAdminService {

    @Autowired
    AdminUserMapper userMapper;

    @Override
    public AdminUser selectByLogin(AdminUser record) {
        return this.userMapper.selectByLogin(record);
    }
}
